package cn.tao.hrm.client;

import cn.tao.hrm.domain.LoginUser;
import cn.tao.hrm.dto.LoginUserDto;
import cn.tao.hrm.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "HRM-AUTH",fallbackFactory = AuthServiceClientFallBackFactory.class)
public interface AuthServiceClient {
    @PutMapping("/loginUser/userMeals")
    AjaxResult add(@RequestBody LoginUserDto loginUserDto);
}
